$f: 19.2;


.header {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 10;
  transition: .6s ease;
  padding: 0 60/$f+vw;
  border-bottom: 1px solid transparent;

  .box {
    display: flex;
    justify-content: space-between;
    align-items: center;

    .logo {
      position: relative;
      display: inline-block;
      z-index: 10;
      img {
        display: block;
        width: 242/$f+vw;
        transition: all 600ms;
      }

      img:nth-child(2) {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        opacity: 0;
      }
    }

    .links {
      display: flex;

      .item {
        margin: 0 24/$f+vw;

        .a1 {
          color: #FFF;
          font-size: 16/$f+vw;
          padding: 50/$f+vw 0;
          display: block;
          transition: all 600ms;
          position: relative;
          z-index: 10;

          &::after {
            content: '';
            display: block;
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            bottom: -1px;
            width: 0;
            height: 3/$f+vw;
            background: #00B58A;
            transition: all 600ms;
          }

        }

        .active{
          color: #00B58A;

          &::after {
            width: 121/$f+vw;
          }
        }



        .pmenu {
          position: fixed;
          left: 0;
          top: 0;
          z-index: 1;
          width: 100%;
          display: none;
          &::before{
            content:'';
            display: block;
            position: absolute;
            left: 0;
            top:120/$f+vw;
            height: 100vh;
            width: 100%;
            background: rgba(0, 0, 0, .3);
            z-index: -1;
            pointer-events: none;
          }
          .wrap {
            display: flex;
            justify-content: space-between;
            margin-top: 120/$f+vw;
            background: #FFF;
            border-radius: 0px 0px 30/$f+vw 30px;

            .lb {
              .p1 {
                color: #000;
                font-size: 26/$f+vw;
                padding: 68/$f+vw 0 0 60/$f+vw;
              }
            }

            .rb {
              width: 1220/$f+vw;
              padding: 74/$f+vw 0 212/$f+vw 170/$f+vw;
              border-radius: 0px 0px 30/$f+vw 0px;
              background: #F5F5F5;

              .t1 {
                color: #000;
                font-size: 26/$f+vw;
                font-weight: 700;
              }

              .pm {
                display: flex;
                margin-top: 48/$f+vw;

                .pitem {
                  line-height: 2.62;

                  a {
                    color: #666;
                    font-size: 16/$f+vw;
                    display: block;
                    transition: all 600ms;
                    &:hover{
                      color:#000;
                    }
                  }

                  &:not(:first-child) {
                    margin-left: 95/$f+vw;
                  }
                }
              }
            }
          }
        }
      }
      .on_menu{
        .pmenu {
          display: block;
        }

        .a1 {
          color: #00B58A;

          &::after {
            width: 121/$f+vw;
          }
        }
      }
    }

    .r {
      display: flex;
      align-items: center;
      position: relative;
      z-index: 10;
      .search {
        cursor: pointer;

        svg {
          width: 16/$f+vw;
          display: block;

          path {
            transition: all 600ms;
          }
        }
      }

      .lan {
        margin: 0 17/$f+vw 0 23/$f+vw;
        position: relative;
        cursor: pointer;

        .p1 {
          display: flex;
          align-items: center;
          color: #FFF;
          font-size: 14/$f+vw;
          transition: all 600ms;

          svg {
            margin-left: 9/$f+vw;
            width: 23/$f+vw;

            path {
              transition: all 600ms;
            }
          }
        }

        a {
          position: absolute;
          left: 0;
          top: 100%;
          background: white;
          color: #000;
          width: 100%;
          font-size: 16/$f+vw;
          text-align: center;
          padding: 5/$f+vw 0;
          display: none;
          box-shadow: 0 0 10/$f+vw rgba(0, 0, 0, 0.20);
        }

        &:hover {
          a {
            display: block;
          }
        }
      }
    }
  }
}

.hasBg,.hasBg2 {
  background: white;
  border-color: #D3D3D3;

  .box {
    .logo {
      img:nth-child(1) {
        opacity: 0;
      }

      img:nth-child(2) {
        opacity: 1;
      }
    }

    .links {
      .item {
        .a1 {
          color: #000;
        }
        .active{
          color: #00B58A;

          &::after {
            width: 121/$f+vw;
          }
        }
      }
    }

    .r {
      .search {
        svg {
          path {
            fill: #000;
          }
        }
      }

      .lan {
        .p1 {
          color: #000;

          svg {
            path {
              fill: #000;
            }
          }
        }
      }

      .common_btn {
        border-color: #000;
        p{
          color: #000;
        }
        &:hover{
          p{
            color:white;
          }
        }
      }
    }
  }
}

.rfixed {
  position: fixed;
  right: 30/$f+vw;
  bottom: 30%;
  z-index: 10;
  border-radius: 30/$f+vw;
  background: #FFF;
  box-shadow: 0px 0px 9.9px 0px rgba(0, 0, 0, 0.20);
  width: 60/$f+vw;
  padding-top: 12/$f+vw;

  a {
    text-align: center;
    display: block;
    width: 40/$f+vw;
    border-bottom: 1px solid #D9D9D9;
    padding: 16/$f+vw 0;
    margin: 0 auto;
    position: relative;
    svg {
      width: 19/$f+vw;
    }
    .txt{
      position: absolute;
      left: 0;
      top:50%;
      transform: translateX(-100%) translateY(-50%);
      display: none;
      padding-right: 20/$f+vw;
      p{
        background: white;
        box-shadow: 0 0 10px rgba(0, 0, 0, .1);
        padding: 8/$f+vw 15/$f+vw;
        font-size: 16/$f+vw;
        color:#000;
        transition: all 600ms;
        border-radius: 30/$f+vw;
        &:hover{
          background: #00B58A;
          color:white;
       }
      }
    }
    &:hover{
      .txt{
        display: block;
      }
    }
  }

  a:nth-child(3) {
    border-bottom: none;
  }

  #goTop,#goTop2 {
    width: 40/$f+vw;
    height: 40/$f+vw;
    background: #00B58A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 12/$f+vw auto;

    svg {
      width: 21/$f+vw;
    }
  }
}

.pheader {
  display: none;
  position: fixed;
  top: 0;
  height: 60px;
  width: 100%;
  left: 0;
  z-index: 1002;
  box-shadow: 0 2px 3px 0 rgba(0, 0, 0, .1);

  .menu {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: white;

    a {
      margin-left: 20px;
      transform: translateY(2px);

      img {
        height: 25px;
        object-fit: contain;
      }
    }

    .navbox {
      margin-right: 20px;
      transition: all 600ms;

      .line {
        width: 30px;
        height: 1px;
        background-color: #000;
        margin: 8px 0;
        -webkit-transition: all .6s;
        transition: all .6s;
      }
    }

    .activeBox {
      transform: translateX(10px);

      .line:nth-child(1) {
        transform: rotate(45deg) translateY(12px);
      }

      .line:nth-child(2) {
        transform: translateX(30px);
        opacity: 0;
      }

      .line:nth-child(3) {
        transform: rotate(-45deg) translateY(-12px);
      }
    }
  }
}

.menuList {
  position: fixed;
  left: 0;
  top: 59px;
  width: 100%;
  z-index: 1001;
  background: white;
  display: none;
  height: calc(100vh - 59px);

  .lan {
    padding: 1rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;

    a {
      color: #646464;
      margin-left: 10px;
    }

    .active {
      font-weight: bolder;
      color: #000000;
    }
  }

  .item {
    //background: rgba(255,255,255,.8);
    padding: 1rem;
    background-color: #ededed;
    border-bottom: 1px solid #dadada;

    a {
      color: #000;
      display: block;
      position: relative;
      text-transform: uppercase;

      img {
        position: absolute;
        right: 0;
        width: 20px;
        transition: all 600ms;
        top: 5px;
      }

      .icon2 {
        position: static;
        width: auto;
        margin-right: 10px;
      }

      .rotate {
        transform: rotate(90deg);
      }
    }

    .tb {
      position: relative;
      display: flex;
      justify-content: space-between;
      align-items: center;

      a {
        // width: 100%;
        display: block;
      }

      img {
        width: 30px;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        transition: all 600ms;
      }

      .rotate {
        transform: translateY(-50%) rotate(90deg);
      }
    }

    .types_top {
      display: none;

      a {
        font-size: 14px;
        margin-top: 15px;
      }
    }
  }
}

.activeList {
  transform: translateY(0);
}

.search_dom {
  background: rgba(0, 0, 0, 0.60);
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.60);
  display: none;
  z-index: 100;

  .box {
    width: 100%;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 35px 0;

    .icon {
      svg {
        width: 28px;
      }
    }

    .sr {
      margin: 0 1vw;
      position: relative;

      input {
        outline: none;
        border-radius: 30px;
        border: 1px solid #E5E5E5;
        width: 480px;
        padding: 10px 0;
        text-indent: 20px;
        color: #000;
        font-size: 16px;
      }

      a {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);

        svg {
          display: block;
          width: 16px;
        }
      }
    }

    .close {
      cursor: pointer;

      svg {
        width: 32px;
        display: block;
      }
    }
  }
}

.common_btn {
  border-radius: 25/$f+vw;
  border: 2/$f+vw solid #FFF;
  padding: 6/$f+vw 21/$f+vw 6/$f+vw 6/$f+vw;
  display: flex;
  align-items: center;
  transition: all 600ms;
  overflow: hidden;
  width: fit-content;

  span {
    width: 28/$f+vw;
    height: 28/$f+vw;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;

    &::before {
      content: '';
      display: block;
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: #00B58A;
      border-radius: 50%;
      transition: all 600ms;
    }

    svg {
      width: 15/$f+vw;
      position: relative;
      z-index: 10;
    }
  }

  p {
    color: #FFF;
    font-size: 14/$f+vw;
    margin-left: 13/$f+vw;
    transition: all 600ms;
    position: relative;
    z-index: 10;
    transform: translateY(-1px);
  }

  &:hover {
    span {
      &::before {
        transform: scale(20);
      }
    }

    p {
      color: #fff;
    }
  }
}

.common_btn_gray {
  border-radius: 25/$f+vw;
  border: 2/$f+vw solid #666;
  padding: 6/$f+vw 21/$f+vw 6/$f+vw 6/$f+vw;
  display: flex;
  align-items: center;
  transition: all 600ms;
  overflow: hidden;
  width: fit-content;

  span {
    width: 28/$f+vw;
    height: 28/$f+vw;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;

    &::before {
      content: '';
      display: block;
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: #00B58A;
      border-radius: 50%;
      transition: all 600ms;
    }

    svg {
      width: 15/$f+vw;
      position: relative;
      z-index: 10;
    }
  }

  p {
    color: #666;
    font-size: 14/$f+vw;
    margin-left: 13/$f+vw;
    transition: all 600ms;
    position: relative;
    z-index: 10;
    transform: translateY(-1px);
  }

  &:hover {
    span {
      &::before {
        transform: scale(20);
      }
    }

    p {
      color: #fff;
    }
  }
}

.foot {
  background: #F2F2F2;
  padding: 0 210/$f+vw;

  .dom1 {
    padding: 68/$f+vw 0 57/$f+vw 0;
    border-bottom: 1px solid #D4D4D4;
    display: flex;
    justify-content: space-between;
    align-items: center;

    .t {
      color: #000;
      font-size: 50/$f+vw;
      font-weight: 700;
    }

    .search {
      position: relative;

      input {
        width: 650/$f+vw;
        height: 60/$f+vw;
        border-radius: 30/$f+vw;
        background: #FFF;
        border: none;
        outline: none;
        padding: 20/$f+vw 23/$f+vw;
        font-size: 16/$f+vw;

        &::placeholder {
          color: #999;
        }
      }

      .btn {
        width: 162/$f+vw;
        height: 60/$f+vw;
        flex-shrink: 0;
        border-radius: 30/$f+vw;
        background: rgba(153, 153, 153, 0.60);
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        right: 0;
        top: 0;
        cursor: pointer;
        transition: all 600ms;
        p {
          color: #FFF;
          font-size: 16/$f+vw;
          margin-right: 17/$f+vw;
        }

        svg {
          width: 23/$f+vw;
          display: block;
        }
        &:hover{
          background: #00B58A;
        }
      }
    }
  }

  .dom2 {
    padding: 65/$f+vw 0 34/$f+vw 0;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #D4D4D4;
    position: relative;

    .l {
      width: 251/$f+vw;

      .logo {
        img {
          width: 242/$f+vw;
          display: block;
        }
      }

      .des {
        margin: 19/$f+vw 0 105/$f+vw 0;
        color: #666;
        font-size: 16/$f+vw;
        line-height: 2;
      }

      .codes {
        display: flex;

        .pic {
          border-radius: 3px;
          background: #FFF;
          box-shadow: 0px 0px 30.4/$f+vw 0px rgba(0, 0, 0, 0.10);
          padding: 7/$f+vw;

          &:not(:last-child) {
            margin-right: 23/$f+vw;
          }

          img {
            width: 113/$f+vw;
            height: 113/$f+vw;
            display: block;
            object-fit: contain;
          }
        }
      }
    }

    .r {
      width: calc(100% - 23vw);
      display: flex;
      justify-content: space-between;

      .item {
        a {
          display: block;
        }

        .a1 {
          color: #000;
          font-size: 16/$f+vw;
          font-weight: 700;
          margin-bottom: 29/$f+vw;
        }

        .aList {
          a {
            color: #666;
            font-size: 16/$f+vw;
            line-height: 2.62;
            transition: all 600ms;

            &:hover {
              color: #000;
            }
          }
        }
      }
    }

    .share {
      position: absolute;
      right: 0;
      bottom: 34/$f+vw;
      display: flex;

      a {
        margin-left: 27/$f+vw;

        img {
          display: block;
          width: 33/$f+vw;
        }
      }
    }
  }

  .copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28/$f+vw 0 39/$f+vw 0;

    .l {
      display: flex;

      p,
      a {
        color: #666;
        font-size: 16/$f+vw;
      }

      a {
        transition: all 600ms;

        &:hover {
          color: #000;
        }
      }
    }

    .r {
      display: flex;
      align-items: center;

      a {
        color: #666;
        font-size: 16/$f+vw;
        transition: all 600ms;

        &:hover {
          color: #000;
        }
      }
    }
  }
}


@media screen and (max-width: 1024px) {
  .header {
    display: none;
  }

  .pheader {
    display: flex;
  }

  .rfixed{
    right:5%;
    width: 40px;
    bottom:25%;
    a{
      width: 30px;
      padding: 10px 0;
      svg{
        width: 20px;
      }
      .txt{
        padding-right: 15px;
        p{
          border-radius: 30px;
          padding: 7px;
          font-size: 14px;
        }
      }
    }
    #goTop, #goTop2{
      width: 30px;
      height: 30px;
      svg{
        width: 20px;
      }
    }
  }

  .common_btn{
    border-radius: 20px;
    border: 2px solid #fff;
    padding: 5px 20px 5px 5px;
    span{
      width: 25px;
      height: 25px;
      svg{
        width: 15px;
      }
    }
    p{
      font-size: 16px;
      margin-left: 10px;
      transform: translateY(0);
    }
  }

  .common_btn_gray{
    border-radius: 20px;
    border: 2px solid #666;
    padding: 5px 20px 5px 5px;
    span{
      width: 25px;
      height: 25px;
      svg{
        width: 15px;
      }
    }
    p{
      font-size: 16px;
      margin-left: 10px;
      transform: translateY(0);
    }
  }
  .foot{
    padding: 0 5%;
    .dom1{
      flex-direction: column;
      padding: 30px 0;
      .t{
        font-size: 20px;
      }
      .search{
        width: 100%;
        margin-top: 20px;
        input{
          width: 100%;
          padding: 10px 15px;
          font-size: 16px;
          height: 40px;
          border-radius: 20px;
        }
        .btn{
          width: 110px;
          height: 40px;
          border-radius: 20px;
          p{
            font-size: 14px;
            margin-right: 10px;
          }
          svg{
            width: 15px;
          }
        }
      }
    }
    .dom2{
      flex-direction: column;
      padding: 30px 0;
      .l{
        width: 100%;
        .logo{
          img{
            width: 151px;
          }
        }
        .des{
          margin: 15px 0;
          font-size: 14px;
        }
        .codes{
          .pic{
            padding: 5px;
            border-radius: 10px;
            img{
              width: 80px;
              height: 80px;
            }
            &:not(:last-child){
              margin-right: 15px;
            }
          }
        }
      }
      .r{
        display: none;
      }
      .share{
       a{
        margin-left: 10px;
        img{
          width: 20px;
        }
       }
      }
    }
    .copyright{
      padding: 15px 0;
      flex-direction: column;
      line-height: 1.5;
      .l{
        flex-direction: column;
        align-items: center;
        text-align: center;
        a,p{
          font-size: 13px;
        }
      }
      .r{
        a{
          font-size: 13px;
        }
      }
    }
  }

}